import axios from 'axios'

const get = ({ url }) => {
    return new Promise((resolve, reject) => {
        axios({
                url,
                method: 'GET'
            })
            .then(result => {
                resolve(result)
            })
            .catch(error => {
                reject(error)
            })
    })
}

export {
    get
}